package com.ytf.core.web.service;

import com.ytf.core.web.pojo.model.Permission;
import com.baomidou.mybatisplus.extension.service.IService;
import jakarta.validation.constraints.NotBlank;

import java.util.List;

/**
 * <p>
 * 权限表 服务类
 * </p>
 *
 * @author YTF
 * @since 2025-05-20
 */
public interface IPermissionService extends IService<Permission> {


    Boolean existsById(Long id);

    Boolean existsByIds(List<Long> permissionIds);

    Boolean existsByPermKeyAndIdNot(String permKey, Long id);
}
